package fons.navigator.views.piemap;

import edu.umd.cs.piccolo.PNode;
import edu.umd.cs.piccolo.nodes.PPath;
import fons.navigator.util.box2d.DynamicPlacer;


abstract public class DrawingStrategy extends PPath /*implements Exportable */ {
    private static final long serialVersionUID = 1L;
    
    private final Target target;
    private final PNode positionHint;
    
    protected DrawingStrategy (Target target, PNode positionHint) {
        this.target = target;
        this.positionHint = positionHint;
    }
    
    public abstract void showLegend ();
    public abstract void hideLegend ();
    public abstract void zOrder ();

    public final Target getTarget() {
        return target;
    }

    public final PNode getPositionHint() {
		return positionHint;
	}
    
	public void setPlacer(DynamicPlacer dynamicPlacer) {
		//default: do nothing
	}
	
	public void removePlacer (DynamicPlacer dynamicPlacer) {
		//default: do nothing
	}
	
	
}
